import React, { Suspense } from "react";

const LazyLoad = (props) => {
  return <Suspense fallback={<div>loading...</div>}>{props.comp}</Suspense>;
};

export default LazyLoad;
